package com.chatplus.application.domain.entity.draw;

import com.baomidou.mybatisplus.annotation.*;
import com.chatplus.application.datasource.id.IdEntity;
import org.apache.ibatis.type.Alias;


/**
 * <p>Table: t_sd_job - Stable Diffusion 任务表</p>
 *
 * @author developer
 */
@Alias("sdJob")
@TableName(value = "t_sd_job", autoResultMap = true)
public class SdJobEntity extends IdEntity {

    /**
     * 用户 ID
     */
    private Long userId;
    /**
     * 任务类别
     */
    private String type;
    /**
     * 任务 ID
     */
    private String taskId;
    /**
     * 会话提示词
     */
    private String prompt;
    /**
     * 图片URL
     */
    private String imgUrl;
    /**
     * 绘画参数json
     */
    private String params;
    /**
     * 任务进度
     */
    private Enum progress;

    public Long getUserId() {
        return this.userId;
    }

    public void setUserId(Long userId) {
        this.userId =  userId;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type =  type;
    }

    public String getTaskId() {
        return this.taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId =  taskId;
    }

    public String getPrompt() {
        return this.prompt;
    }

    public void setPrompt(String prompt) {
        this.prompt =  prompt;
    }

    public String getImgUrl() {
        return this.imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl =  imgUrl;
    }

    public String getParams() {
        return this.params;
    }

    public void setParams(String params) {
        this.params =  params;
    }

    public Enum getProgress() {
        return this.progress;
    }

    public void setProgress(Enum progress) {
        this.progress =  progress;
    }

}
